namespace Dto.ApiRequests.MemberForms
{
    public class AddMemberForm : AuditedForm
    {
        public string Code { get; set; }
        public string DateOfBirth { get; set; }
        public string Address { get; set; }
        public string Email { get; set; }
        public string Mobile { get; set; }
        public string ScreenMessage { get; set; }
        public string ValidFrom { get; set; }
        public string ValidTo { get; set; }
        public bool SendSms { get; set; }
        public bool SendEmail { get; set; }
        public bool UsePrint { get; set; }
        public bool Block { get; set; }
        public string RoleValue { get; set; }
        public string UserStatusValue { get; set; }

        public override string GetCommandValue()
        {
            return string.Format("{0} - {1}", base.ToString(), Code);
        }

        public override string GetApiAddress()
        {
            return "Member";
        }
    }
}